package org.finesys.codegen;


import org.finesys.common.database.core.annotation.EnableDynamicDataSource;
import org.finesys.common.security.core.annotation.EnableAuthResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = {"org.finesys"})
@EnableDynamicDataSource
@EnableDiscoveryClient
@EnableAuthResourceServer
@MapperScan(basePackages = {"org.finesys.codegen.mapper"})
@SpringBootApplication
public class GeneratorApplication {
    public static void main(String[] args) {
        SpringApplication.run(GeneratorApplication.class, args);
    }
}
